package com.hsd.znsh.pojo.input;

import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-05-07 16:13:00
 */
@Data
public class ForgetPasswordEmail {

    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式错误")
    private String email;

    @NotBlank(message = "密码不能为空")
    private String password;

}
